<template>
    <div>
        <div class="index">
            <div class="w1">
                <div class="w1_1">
                    <div class="Overhead2">
                        <div class="Overhead" v-for="i in 3" :key="i">
                            <span class="ti1">置顶la</span>
                            <span class="ti2">不是吧老板  别这样呀</span>
                        </div>
                    </div>
                    <div class="useTil" v-for="i in 10" :key="i">
                        <div class="title1">
                            <div class="title1_1">
                                <img class="img1" src="https://img-static.mihoyo.com/avatar/avatar10014.png" width="30px" alt="">
                                <!-- <i class="el-icon-arrow-down"></i> -->
                                <img class="img3" src="../../assets/img/v.png" alt="">
                                <span class="ti1" title="西风快报员">西风快报员</span>
                                <span class="ti2">
                                    <img class="img2" src="https://img-static.mihoyo.com/level/level16.png" alt="">
                                </span>
                                <span class="ti3">23小时</span>
                            </div>
                            <!-- <div class="title1_2">
                                关注
                            </div> -->
                        </div>
                        <div class="title2">
                            <!-- <div class="ti1">官方</div> -->
                            <div class="ti2">[百货奇货]活动：开奇货匣得原石!</div>
                        </div>
                        <div class="title3">
                            常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f
                        </div>
                        <div class="title4">
                            <div v-for="(item,i) in imgList" :key="i">
                                <!-- <img :src="item" alt=""> -->
                                <el-image :src="item" :preview-src-list="imgList"></el-image>
                            </div>
                        </div>
                        <div class="title5">
                            <div class="title5_1">
                                <div v-for="item,i in www" :key="i">{{item}}</div>
                            </div>
                            <div class="title5_2">
                                <div class="title5_2_1">
                                    <i class="el-icon-view"></i>
                                    <span>168万+</span>
                                </div>
                                <div class="title5_2_2">
                                    <i class="el-icon-chat-dot-round"></i>
                                    <span>9800</span>
                                </div>
                                <div class="title5_2_3">
                                    <i class="el-icon-thumb"></i>
                                    <span>16万+</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="w2">
                <div class="search">
                    <router-view />
                </div>
                <div class="w2_2">
                    <div class="w2_2_1">
                        <div class="uia1">
                            <img src="https://img-static.mihoyo.com/new_qrcode/qrcode_ys.png" width="100px" alt="">
                            <div class="uia1_1">
                                <span class="ti1">扫码下载米游社App</span>
                                <span class="ti2">了解提瓦特最新资讯</span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="w2_4">
                    <div class="w2_4_index">
                        <div class="una1">
                            <span>官方资讯</span>
                        </div>
                        <div class="una2">
                            <span>更多</span>
                        </div>
                    </div>
                    <div class="w2_4_index2">
                        <div class="im">
                            <img src="https://upload-bbs.mihoyo.com/upload/2022/04/29/75379477/2ea09aee020e97b68be4110fdce6f32b_5216870197910584003.jpg?x-oss-process=image/resize,s_300/quality,q_80/auto-orient,0/interlace,1/format,jpg" alt="">
                            <span class="kjg" title="【有奖活动】「裁景入画」旅照札记摄影征集活动开启！">【有奖活动】「裁景入画」旅照札记摄影征集活动开启！</span>
                        </div>
                        <div class="im2" v-for="item,i in guangfang" :key="i">
                            <span class="huo">{{item.name}}</span>
                            <span class="jie">{{item.title}}</span>
                        </div>
                    </div>
                </div>
                <div class="w2_5">
                    <div class="w2_5_index">
                        <div class="una1">
                            <span>热门话题</span>
                        </div>
                        <div class="una2">
                            <span>更多</span>
                        </div>
                    </div>
                    <div class="w2_5_index2">
                        <div class="tiing" v-for="i in 20" :key="i">
                            <img src="https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg" alt="">
                            <span>不是吧老铁</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    props: ['data1'],
    data() {
        return {
            Sub_route: ['最新发帖', '最新回复', '热门', '攻略分类'],

            imgList: [
                'https://upload-bbs.mihoyo.com/upload/2022/03/30/5f1612a985b3c421e3298bc17618a43b.jpeg',
                'https://upload-bbs.mihoyo.com/upload/2022/04/29/3fe57965ed348966dd93dfaba28da0f6.jpeg',
                'https://upload-bbs.mihoyo.com/upload/2022/04/29/b20891f66c723d6c569c1e8f3447671e.jpeg',
                'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg',
                'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg'
                ],
            www: [
                '你好uacdfssf','不好吧','太好啦'
            ],
            imgList2: [
                'https://upload-bbs.mihoyo.com/pc_ad/pc_ad_ys_game_record2.jpg',
                'https://upload-bbs.mihoyo.com/upload/2022/03/29/d169c8353e5c428340f0bcac4b9e8b34_6854408165333802564.jpg',
                'https://upload-bbs.mihoyo.com/pc_ad/ys_signin.jpg'
            ],
            guangfang: [
                {name: '活动', title: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法'},
                {name: '资讯', title: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法'},
                {name: '资讯', title: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法'},
                {name: '公告', title: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法'},
                {name: '公告', title: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法'},
            ],
            tuia: [
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', na: '假日冒险？触发！'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', na: '假日冒险？触发！'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', na: '假日冒险？触发！'},
            ],
            usertuiji:[
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', name: '从你少女', dengji: 'Lv.9', title: '水泥厂你是v发'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', name: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法', dengji: 'Lv.9', title: '水泥厂你是v发'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', name: '从你', dengji: 'Lv.9', title: '水泥厂你是v发'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/29/7078d15984ddbbb8aaa6280a9cb86407_5699639779014808393.gif?x-oss-process=image/auto-orient,0/interlace,1/format,jpg', name: '从你少女i发VS篇v你是否不顾i打不过打不过打不过跑环任务交割日无法', dengji: 'Lv.9', title: '水泥厂你是v发'},
            ],
            meiyutuijan: [
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/22/22630933/e5e9e7ee01c8befb3e9d86149fbdb311_7405146438885921199.jpg', titl: 'dnisdnacfuivbf才能丢v发表VS吧v夫i欧冠我不够稳固货物发到就拿出来覅就覅我'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/22/22630933/e5e9e7ee01c8befb3e9d86149fbdb311_7405146438885921199.jpg', titl: 'dnisdnacfuivbf才能丢v发表VS吧v夫i欧冠我不够稳固货物发到就拿出来覅就覅我'},
                {img: 'https://upload-bbs.mihoyo.com/upload/2022/04/22/22630933/e5e9e7ee01c8befb3e9d86149fbdb311_7405146438885921199.jpg', titl: 'dnisdnacfuivbf才能丢v发表VS吧v夫i欧冠我不够稳固货物发到就拿出来覅就覅我'},
            ]
        }
    },
    // mounted() {
    //     console.log('传过来的1', this.data1);
    // }
}
</script>

<style lang="less" scoped>
    .index {
        // border: 1px solid red;
        display: flex;
        // margin-top: 80px;
        justify-content: center;
        .w1 {
            // border: 1px solid red;
            width: 700px;
            height: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            .w1_1 {
                // border-bottom: 1px solid #999;
                // border: 1px solid red;
                padding: 6px;
                // margin-top: 20px;
                background-color: white;
                border-radius: 5px;
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                .Overhead2 {
                    border-bottom: 1px solid #999;
                    width: 100%;
                    .Overhead {
                        height: 50px;
                        width: 100%;
                        display: flex;
                        align-items: center;
                        span {
                            margin-left: 10px;
                        }
                        .ti1 {
                            border: 1px solid #00c3ff;
                            padding: 2px;
                            font-size: 12px;
                            font-weight: bolder;
                            color: #00c3ff;
                        }
                        .ti2:hover {
                            color: #00c3ff;
                            cursor: pointer;
                        }
                        .ti2 {
                            // border: 1px solid red;
                            font-size: 15px;
                            font-weight: bolder;
                        }
                    }
                }
                .useTil:hover {
                    .ti2 {
                        color: #00c3ff;
                    }
                }
                .useTil {
                    // border: 1px solid red;
                    border-bottom: 1px solid #999;
                    margin-top: 6px;
                    cursor: pointer;
                    width: 96%;
                    padding: 3px;
                    .title1 {
                        margin-top: 10px;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        .title1_1 {
                            display: flex;
                            align-items: center;
                            position: relative;
                            .img1 {
                                border-radius: 50%;
                                cursor: pointer;
                            }
                            .img3 {
                                max-width: 9px;
                                position: absolute;
                                margin-left: 22px;
                                margin-top: 20px;
                                cursor: pointer;
                            }
                            span {
                                margin-left: 6px;
                            }
                            // i {
                            //     color: white;
                            //     background-color: yellow;
                            //     border-radius: 20px;
                            //     font-size: 6px;
                            //     position: absolute;
                            //     margin-left: 22px;
                            //     margin-top: 20px;
                            //     cursor: pointer;
                            // }
                            .ti1 {
                                font-size: 10px;
                                cursor: pointer;
                            }
                            .ti1:hover {
                                font-size: 10px;
                                color: #00c3ff;
                                cursor: pointer;
                            }
                            .ti2 {
                                .img2 {
                                    max-width: 30px;
                                }
                            }
                            .ti3 {
                                color: #999;
                                font-size: 10px;
                            }
                        }
                        // .title1_2 {
                        //     width: 10%;
                        //     display: flex;
                        //     align-items: center;
                        //     justify-content: center;
                        //     font-size: 15px;
                        //     color: white;
                        //     height: 23px;
                        //     background-color: #00c3ff;
                        //     border-radius: 20px;
                        //     cursor: pointer;
                        // }
                    }
                    .title2 {
                        margin-top: 10px;
                        display: flex;
                        align-items: center;
                        // .ti1 {
                        //     width: 35px;
                        //     text-align: center;
                        //     background-color: #00c3ff;
                        //     font-size: 15px;
                        //     color: white;
                        // }
                        .ti2 {
                            margin-left: 6px;
                            font-size: 15px;
                            font-weight: bolder;
                        }
                        .ti2:hover {
                            color: #00c3ff;
                            cursor: pointer;
                        }
                    }
                    .title3 {
                        margin-top: 5px;
                        color: #999;
                        font-size: 13px;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 1;
                        overflow: hidden;
                    }
                    .title4 {
                        margin-top: 6px;
                        display: flex;
                        flex-wrap: wrap;
                        .el-image {
                            max-width: 161.5px;
                            margin: 3px;
                            border-radius: 10px;
                        }
                    }
                    .title5 {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        .title5_1 {
                            display: flex;
                            div {
                                margin-left: 10px;
                                padding: 5px;
                                font-size: 10px;
                                border-radius: 20px;
                                background-color: rgb(236, 233, 233);
                            }
                        }
                        .title5_2 {
                            display: flex;
                            color: #999;
                            span {
                                // color: #999;
                                font-size: 10px;
                                display: flex;
                            }
                            i {
                                font-size: 20px;
                            }
                            .title5_2_1 {
                                margin-right: 10px;
                                display: flex;
                                align-items: center;
                            }
                            .title5_2_2 {
                                margin-right: 10px;
                                display: flex;
                                align-items: center;
                            }
                            .title5_2_3 {
                                margin-right: 10px;
                                display: flex;
                                align-items: center;
                            }
                        }
                    }
                }
            }
        }
        .w2 {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            width: 260px;
            height: 100%;
            // background-color: red;
            // border: 1px solid red;
            // overflow: hidden;
            .search {
                // border: 1px solid red;
                border-radius: 5px;
                width: 94%;
                height: 60px;
                display: flex;
                align-items: center;
                background-color: white;
                // .search_1 {
                //     // border: 1px solid red;
                //     padding: 10px;
                //     input {
                //         width: 150px;
                //         border: none;
                //         outline: none;
                //     }
                // }
                // .search_2 {
                //     // border: 1px solid red;
                //     width: 100%;
                //     height: 100%;
                //     display: flex;
                //     align-items: center;
                //     justify-content: center;
                //     background-color: #f3f320;
                //     border-radius: 0px 5px 5px 0px;
                //     cursor: pointer;
                // }
            }
            .w2_2 {
                background-color: white;
                margin-top: 20px;
                // border: 1px solid red;
                width: 95%;
                height: 130px;
                border-radius: 5px;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;
                cursor: pointer;
                .w2_2_1 {
                    // border: 1px solid rgb(0, 0, 0);
                    width: 90%;
                    .uia1 {
                        display: flex;
                        align-items: center;
                        // border: 1px solid black;
                        .uia1_1 {
                            // border: 1px solid red;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            flex-wrap: wrap;
                            font-size: 13px;
                            .ti1 {
                                color: #00c3ff;
                            }
                            .ti2 {
                                margin-top: 6px;
                                color: #999;
                            }
                        }
                    }
                }
            }
            .w2_4 {
            padding-bottom: 30px;
            background-color: white;
            width: 95%;
            margin-left: 6px;
            margin-top: 20px;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            .w2_4_index {
                // border: 1px solid red;
                border-bottom: 1px solid #999;
                width: 90%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 5px;
                .una1 {
                    font-size: 16px;
                    font-weight: bolder;
                }
                .una2 {
                    font-size: 10px;
                    color: #999;
                    cursor: pointer;
                }
            }
            .w2_4_index2 {
                // border: 1px solid red;
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                .im {
                    // border: 1px solid red;
                    cursor: pointer;
                    margin-top: 10px;
                    display: flex;
                    flex-wrap: wrap;
                    position: relative;
                    img {
                        max-width: 220px;
                        border-radius: 5px;
                    }
                    .kjg {
                        // border: 1px solid red;
                        position: absolute;
                        bottom: 0;
                        font-size: 10px;
                        color: white;
                        background-color: black;
                        opacity: 0.5;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 1;
                        overflow: hidden;
                    }
                }
                .im2 {
                    // border: 1px solid red;
                    cursor: pointer;
                    margin-top: 10px;
                    width: 90%;
                    display: flex;
                    justify-content: space-between;
                    justify-content: center;
                    align-items: center;
                    font-size: 6px;
                    .huo {
                        // border: 1px solid red;
                        width: 50px;
                        padding: 3px;
                        text-align: center;
                        border-radius: 4px;
                        background-color: #999;
                        color: white;
                    }
                    .jie {
                        // border: 1px solid red;
                        margin-left: 10px;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 1;
                        overflow: hidden;
                    }
                }
            }
            }
            .w2_5 {
                padding-bottom: 30px;
                background-color: white;
                // padding: 10px;
                margin-top: 20px;
                width: 95%;
                margin-left: 6px;
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                .w2_5_index {
                    border-bottom: 1px solid #999;
                    width: 90%;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 5px;
                    .una1 {
                        font-size: 16px;
                        font-weight: bolder;
                    }
                    .una2 {
                        font-size: 10px;
                        color: #999;
                        cursor: pointer;
                    }
                }
                .w2_5_index2 {
                    // border: 1px solid red;
                    .tiing {
                        // border: 1px solid red;
                        cursor: pointer;
                        margin-top: 8px;
                        width: 230px;
                        display: flex;
                        // justify-content: center;
                        align-items: center;
                        img {
                            max-width: 50px;
                            border-radius: 4px;
                        }
                        span {
                            margin-left: 10px;
                        }
                        span:hover {
                            color: #00c3ff;
                        }
                    }
                }
            }
        }
    }
</style>